package com.zjp.mg.service;


import cn.hutool.core.util.RandomUtil;
import com.zjp.mg.dao.AbstractMongoService;
import com.zjp.mg.model.DifferentField;

public class DifferentFieldService extends AbstractMongoService<DifferentField>
{


    public static void main(String[] args) {

        DifferentField differentField = new DifferentField();

        differentField.setMobile(RandomUtil.randomString(8));
        differentField.setOId(RandomUtil.randomLong(8));
        differentField.setUId(RandomUtil.randomLong(8));
        differentField.setUName(RandomUtil.randomString(8));

        DifferentFieldService service = new DifferentFieldService();


        service.initUpdateCondition(differentField);

    }

    @Override
    public String getCollectionName() {
        return "different_field";
    }

    @Override
    public Class<DifferentField> getType() {
        return DifferentField.class;
    }
}
